using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace Zooming
{
    public class Variables
    {
        private Variables()
        {
            this.mCanvasSize = new Size(600, 400);
            this.mActualCanvasSize = new Size();
        }

        static public Variables Instance
        {
            get
            {
                if (sInstance == null)
                {
                    sInstance = new Variables();
                }
                return sInstance;
            }
        }

        public Size CanvasSize
        {
            get { return this.mCanvasSize; }
        }

        public Size ActualCanvasSize
        {
            get { return this.mActualCanvasSize; }
            set { this.mActualCanvasSize = value; }
        }

        static private Variables sInstance;
        private Size mCanvasSize;
        private Size mActualCanvasSize;
    } 
}
